package com.wolfalpha.utron.bean;

import java.util.List;

/**
 * 列表中的项目对象
 * <p/>
 * Created by luodon on 15/8/28.
 */
public class Project {

    private int id;                 //项目ID
    private int user_id;            //项目创始人ID
    private String name;            //项目名称
    private String logo;            //项目LOGO
    private int dir;                //项目方向
    private String location;        //项目地址 江苏 南京
    private String school;          //项目地址学校
    private String progress;           //项目进展
    private String teamer;          //团队成员 1-2
    private long time;              //发布时间
    private String intro;           //简介（40字以内）
    private String calls;           //召唤类型 技术；运营
    private int praise;             //项目点赞次数
    private int jlq_id;             //交流群ID
    private int hot;                //热度值
    private String jlq_name;        //交流群名称
    private int willers;            //愿意加入交流群的人数
    private int owner;              //是否私有 0:公开;1:私有,仅创始人可见
    private int state;              //0:正在审核;1：正常；2:审核不通过; 8:已删除
    private int c_comment;          //评论数量
    private int c_attention;       //关注数量
    private String detail;          //详情

    private List<Teamer> teamers;    //项目成员

    public List<Teamer> getTeamers() {
        return teamers;
    }

    public void setTeamers(List<Teamer> timers) {
        this.teamers = timers;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public int getC_comment() {
        return c_comment;
    }

    public void setC_comment(int c_comment) {
        this.c_comment = c_comment;
    }

    public int getC_attention() {
        return c_attention;
    }

    public void setC_attention(int c_attention) {
        this.c_attention = c_attention;
    }

    public int getOwner() {
        return owner;
    }

    public void setOwner(int owner) {
        this.owner = owner;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getWillers() {
        return willers;
    }

    public void setWillers(int willers) {
        this.willers = willers;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getTeamer() {
        return teamer;
    }

    public void setTeamer(String teamer) {
        this.teamer = teamer;
    }

    public String getCalls() {
        return calls;
    }

    public void setCalls(String calls) {
        this.calls = calls;
    }

    public int getPraise() {
        return praise;
    }

    public void setPraise(int praise) {
        this.praise = praise;
    }

    public int getJlq_id() {
        return jlq_id;
    }

    public void setJlq_id(int jlq_id) {
        this.jlq_id = jlq_id;
    }

    public int getHot() {
        return hot;
    }

    public void setHot(int hot) {
        this.hot = hot;
    }

    public String getJlq_name() {
        return jlq_name;
    }

    public void setJlq_name(String jlq_name) {
        this.jlq_name = jlq_name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public int getDir() {
        return dir;
    }

    public void setDir(int dir) {
        this.dir = dir;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getProgress() {
        return progress;
    }

    public void setProgress(String progress) {
        this.progress = progress;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }


    /**
     * 项目成员实体
     */
    public class Teamer {
        private int user_id;    //用户ID
        private String name;    //用户名
        private String head;    //用户头像
        private String role;    //用户角色
        private String school;  //用户学校
        private long time;      //加入时间

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getHead() {
            return head;
        }

        public void setHead(String head) {
            this.head = head;
        }

        public String getRole() {
            return role;
        }

        public void setRole(String role) {
            this.role = role;
        }

        public String getSchool() {
            return school;
        }

        public void setSchool(String school) {
            this.school = school;
        }

        public long getTime() {
            return time;
        }

        public void setTime(long time) {
            this.time = time;
        }
    }
}
